package com.it.springdoc.model;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

@Schema(description = "用户信息")
public class User implements Serializable {
    @Schema(description = "用户名称", example = "张三")
    private String name;
    @Schema(description = "用户年龄", example = "18")
    private int age;
}